<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:rich="http://richfaces.org/rich">

<ui:composition template="/template/masterLayout.xhtml">
	<ui:define name="content">
		<h:form>
			<h:panelGrid columns="3">
				<h:commandLink action="/neural/teach.xhtml"
					value="#{msgs.neuralMenu1}" />
				<h:commandLink action="/neural/neural.xhtml"
					value="#{msgs.neuralMenu2}" />
			</h:panelGrid>
		</h:form>
		<div id="content">
			<h:form>
				<h:outputText value="#{msgs.neuralNoHistData}" rendered="#{!pred.dataLoaded}"/>
				<h:panelGrid columns="3" rendered="#{pred.dataLoaded}">
					<h:outputText value="#{msgs.neuralHardware}"/>
					<rich:select value="#{hard.currentHardwareId}">
						<f:selectItems value="#{hard.hardwareObject}" var="w"
							itemLabel="#{w.name}" itemValue="#{w.hardwareId}" />
					</rich:select>
					<h:outputText value=""/>
					<h:outputText value="#{msgs.neuralVariable}"/>
					<rich:select value="#{hard.currentVariableId}">
						<f:selectItems value="#{pred.currentPredObjVarColl}" var="w"
							itemLabel="#{w.variableName}" itemValue="#{w.variableId}" />
					</rich:select>
					<h:commandButton value="#{msgs.choose}" action="/neural/teach.xhtml" />
				</h:panelGrid>
			</h:form>
		</div>
	</ui:define>
</ui:composition>
</html>